package com.ruoyi.picture.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 家人账单管理对象 account_fam
 * 
 * @author ruoyi
 * @date 2024-01-16
 */
public class AccountFam extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 用处 */
    @Excel(name = "用处")
    private String fun;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    @Excel(name = "用户")
    private String nickName;
    /** 用户 */
    @Excel(name = "用户")
    private String famId;

    @Excel(name = "昵称")
    private String userName;

    @Excel(name = "用户id")
    private  Integer userId;

    /** 标签 */

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /** 类型 */
    @Excel(name = "类型0支出，1收入")
    private Long type;

    @Excel(isExport = false)
    private Long tabId;

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFun(String fun) 
    {
        this.fun = fun;
    }

    public String getFun() 
    {
        return fun;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setFamId(String famId) 
    {
        this.famId = famId;
    }

    public String getFamId() 
    {
        return famId;
    }
    public void setTabId(Long tabId) 
    {
        this.tabId = tabId;
    }

    public Long getTabId() 
    {
        return tabId;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fun", getFun())
            .append("price", getPrice())
            .append("famId", getFamId())
            .append("tabId", getTabId())
            .append("type", getType())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
